import './assets/main.scss'
import './assets/icon/iconfont.css'

import { createApp } from 'vue'
import App from './App.vue'
// 组件
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import vueRouter from '@/router'
import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
import locale from 'element-plus/dist/locale/zh-cn.js'

const app = createApp(App)
const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)
app.use(ElementPlus, { locale })
app.use(vueRouter)
app.use(pinia)
app.mount('#app')